package managedbean.FRM.CustomerInvoice;

import entity.FRM.CustomerInvoice;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.ejb.EJB;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import javax.faces.event.PhaseEvent;
import session.stateless.FRM.CustomerInvoiceBeanLocal;

@ManagedBean(name="viewAllCustomerInvoicesManagerBean")
@ViewScoped

public class ViewAllCustomerInvoicesManagerBean implements Serializable {
    
    public ViewAllCustomerInvoicesManagerBean () {
    }
    
    @EJB
    private CustomerInvoiceBeanLocal customerInvoiceBeanLocal;
    
    public List<CustomerInvoice> getCustomerInvoices() {
        return customerInvoiceBeanLocal.getAllCustomerInvoices();
    }

    
    
    public void initView(PhaseEvent event)
    {        
    }
    
}
